package com.item.service;

import com.item.dao.EssenceCollectMapper;
import com.item.dao.model.EssenceCollect;
import com.item.dao.model.EssenceCollectExample;
import java.util.List;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EssenceCollectService {
    @Autowired
    private EssenceCollectMapper essenceCollectMapper;

    private static final Logger logger = Logger.getLogger(EssenceCollectService.class);

    public int countByExample(EssenceCollectExample example) {
        return this.essenceCollectMapper.countByExample(example);
    }

    public EssenceCollect selectByPrimaryKey(String id) {
        return this.essenceCollectMapper.selectByPrimaryKey(id);
    }

    public List<EssenceCollect> selectByExample(EssenceCollectExample example) {
        return this.essenceCollectMapper.selectByExample(example);
    }

    public int deleteByPrimaryKey(String id) {
        return this.essenceCollectMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(EssenceCollect record) {
        return this.essenceCollectMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(EssenceCollect record) {
        return this.essenceCollectMapper.updateByPrimaryKey(record);
    }

    public int deleteByExample(EssenceCollectExample example) {
        return this.essenceCollectMapper.deleteByExample(example);
    }

    public int updateByExampleSelective(EssenceCollect record, EssenceCollectExample example) {
        return this.essenceCollectMapper.updateByExampleSelective(record, example);
    }

    public int updateByExample(EssenceCollect record, EssenceCollectExample example) {
        return this.essenceCollectMapper.updateByExample(record, example);
    }

    public int insert(EssenceCollect record) {
        return this.essenceCollectMapper.insert(record);
    }

    public int insertSelective(EssenceCollect record) {
        return this.essenceCollectMapper.insertSelective(record);
    }
}